/**
 * 
 */
package com.radeonsys.litmus.data;

import org.springframework.core.NestedRuntimeException;

/**
 * Thrown when an attempt was made to perform an operation which requires a
 * schema to be specified but no schema was specified.
 *  
 * @author Ranganath Kini (ranganathkini at gmail dot com)
 * @version 1.0
 */
public class UnspecifiedSchemaException extends NestedRuntimeException {

	/**
	 * The generated serial version UID for this class
	 */
	private static final long serialVersionUID = -8334972055014127261L;

	/**
	 * Creates a new instance of <code>UnspecifiedSchemaException</code> with
	 * the specified error message
	 * 
	 * @param msg	the error message describing the reason why this error
	 * 				was caused
	 */
	public UnspecifiedSchemaException(String msg) {
		super(msg);
	}

	/**
	 * Creates a new instance of <code>UnspecifiedSchemaException</code> with
	 * the specified error message and underlying cause of this error
	 * 
	 * @param msg		the error message describing the reason why this error
	 * 					was caused
	 * @param cause		a reference to an instance of {@link Throwable} which
	 * 					represents the underlying cause of this error
	 */
	public UnspecifiedSchemaException(String msg, Throwable cause) {
		super(msg, cause);
	}

}
